package com.lwj.liwanjia.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by 001 on 2017/10/27.
 */

public class DingBean02 {

    /**
     * state : 1
     * message : null
     * data : {"commodity":[{"commodityimage":"http://lwj123456.oss-cn-hangzhou.aliyuncs.com/cleaning/images/lwj123456=1509961162374.jpg","commodityNum":1,"freight":0,"Commodityinfo":"叽叽叽叽里HK","commodityprice":2,"commoditycode":"e0dc92ff04da4b77baf1219756c3164e","commodityType":"商城","commodityname":"韩版大衣"}],"amount":1,"consignee":{"consigneeName":"证明","consigneeLat":27.974121,"consigneePhone":"18767793269","fist":1,"userId":"08d6f417-71c9-44f8-9d72-ae13e9f42fd8","consigneeAddress":"浙江省温州市龙湾区蒲州街道文昌路209号红连文创园","consigneeLng":120.730731},"logistics":{"orderId":null,"logisticsId":null,"logisticsType":null,"time":null},"payWay":"一卡通","head":"http://lwj123456.oss-cn-hangzhou.aliyuncs.com/cleaning/images/lwj123456=1508924859834.png","liwanjiaInvoice":{"invoiceId":null,"invoiceContent":null,"invoiceProposer":null,"invoiceTitle":null,"invoiceTaxpayerCode":null,"invoiceMail":null,"invoiceMoney":null,"tradeId":null},"totalpay":2,"orderTime":1509961294000,"name":"18767793269","endPayTime":1509963094000,"payInfo":null,"tradeId":"liwanjia_1509961282014","status":"待发货"}
     */

    private int state;
    private Object message;
    private DataBean data;

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public Object getMessage() {
        return message;
    }

    public void setMessage(Object message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * commodity : [{"commodityimage":"http://lwj123456.oss-cn-hangzhou.aliyuncs.com/cleaning/images/lwj123456=1509961162374.jpg","commodityNum":1,"freight":0,"Commodityinfo":"叽叽叽叽里HK","commodityprice":2,"commoditycode":"e0dc92ff04da4b77baf1219756c3164e","commodityType":"商城","commodityname":"韩版大衣"}]
         * amount : 1
         * consignee : {"consigneeName":"证明","consigneeLat":27.974121,"consigneePhone":"18767793269","fist":1,"userId":"08d6f417-71c9-44f8-9d72-ae13e9f42fd8","consigneeAddress":"浙江省温州市龙湾区蒲州街道文昌路209号红连文创园","consigneeLng":120.730731}
         * logistics : {"orderId":null,"logisticsId":null,"logisticsType":null,"time":null}
         * payWay : 一卡通
         * head : http://lwj123456.oss-cn-hangzhou.aliyuncs.com/cleaning/images/lwj123456=1508924859834.png
         * liwanjiaInvoice : {"invoiceId":null,"invoiceContent":null,"invoiceProposer":null,"invoiceTitle":null,"invoiceTaxpayerCode":null,"invoiceMail":null,"invoiceMoney":null,"tradeId":null}
         * totalpay : 2.0
         * orderTime : 1509961294000
         * name : 18767793269
         * endPayTime : 1509963094000
         * payInfo : null
         * tradeId : liwanjia_1509961282014
         * status : 待发货
         */

        private int amount;
        private ConsigneeBean consignee;
        private LogisticsBean logistics;
        private String payWay;
        private String head;
        private LiwanjiaInvoiceBean liwanjiaInvoice;
        private double totalpay;
        private long orderTime;
        private String name;
        private long endPayTime;
        private Object payInfo;
        private String tradeId;
        private String status;
        private List<CommodityBean> commodity;

        public int getAmount() {
            return amount;
        }

        public void setAmount(int amount) {
            this.amount = amount;
        }

        public ConsigneeBean getConsignee() {
            return consignee;
        }

        public void setConsignee(ConsigneeBean consignee) {
            this.consignee = consignee;
        }

        public LogisticsBean getLogistics() {
            return logistics;
        }

        public void setLogistics(LogisticsBean logistics) {
            this.logistics = logistics;
        }

        public String getPayWay() {
            return payWay;
        }

        public void setPayWay(String payWay) {
            this.payWay = payWay;
        }

        public String getHead() {
            return head;
        }

        public void setHead(String head) {
            this.head = head;
        }

        public LiwanjiaInvoiceBean getLiwanjiaInvoice() {
            return liwanjiaInvoice;
        }

        public void setLiwanjiaInvoice(LiwanjiaInvoiceBean liwanjiaInvoice) {
            this.liwanjiaInvoice = liwanjiaInvoice;
        }

        public double getTotalpay() {
            return totalpay;
        }

        public void setTotalpay(double totalpay) {
            this.totalpay = totalpay;
        }

        public long getOrderTime() {
            return orderTime;
        }

        public void setOrderTime(long orderTime) {
            this.orderTime = orderTime;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public long getEndPayTime() {
            return endPayTime;
        }

        public void setEndPayTime(long endPayTime) {
            this.endPayTime = endPayTime;
        }

        public Object getPayInfo() {
            return payInfo;
        }

        public void setPayInfo(Object payInfo) {
            this.payInfo = payInfo;
        }

        public String getTradeId() {
            return tradeId;
        }

        public void setTradeId(String tradeId) {
            this.tradeId = tradeId;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public List<CommodityBean> getCommodity() {
            return commodity;
        }

        public void setCommodity(List<CommodityBean> commodity) {
            this.commodity = commodity;
        }

        public static class ConsigneeBean {
            /**
             * consigneeName : 证明
             * consigneeLat : 27.974121
             * consigneePhone : 18767793269
             * fist : 1
             * userId : 08d6f417-71c9-44f8-9d72-ae13e9f42fd8
             * consigneeAddress : 浙江省温州市龙湾区蒲州街道文昌路209号红连文创园
             * consigneeLng : 120.730731
             */

            private String consigneeName;
            private double consigneeLat;
            private String consigneePhone;
            private int fist;
            private String userId;
            private String consigneeAddress;
            private double consigneeLng;

            public String getConsigneeName() {
                return consigneeName;
            }

            public void setConsigneeName(String consigneeName) {
                this.consigneeName = consigneeName;
            }

            public double getConsigneeLat() {
                return consigneeLat;
            }

            public void setConsigneeLat(double consigneeLat) {
                this.consigneeLat = consigneeLat;
            }

            public String getConsigneePhone() {
                return consigneePhone;
            }

            public void setConsigneePhone(String consigneePhone) {
                this.consigneePhone = consigneePhone;
            }

            public int getFist() {
                return fist;
            }

            public void setFist(int fist) {
                this.fist = fist;
            }

            public String getUserId() {
                return userId;
            }

            public void setUserId(String userId) {
                this.userId = userId;
            }

            public String getConsigneeAddress() {
                return consigneeAddress;
            }

            public void setConsigneeAddress(String consigneeAddress) {
                this.consigneeAddress = consigneeAddress;
            }

            public double getConsigneeLng() {
                return consigneeLng;
            }

            public void setConsigneeLng(double consigneeLng) {
                this.consigneeLng = consigneeLng;
            }
        }

        public static class LogisticsBean {
            /**
             * orderId : null
             * logisticsId : null
             * logisticsType : null
             * time : null
             */

            private Object orderId;
            private Object logisticsId;
            private Object logisticsType;
            private Object time;

            public Object getOrderId() {
                return orderId;
            }

            public void setOrderId(Object orderId) {
                this.orderId = orderId;
            }

            public Object getLogisticsId() {
                return logisticsId;
            }

            public void setLogisticsId(Object logisticsId) {
                this.logisticsId = logisticsId;
            }

            public Object getLogisticsType() {
                return logisticsType;
            }

            public void setLogisticsType(Object logisticsType) {
                this.logisticsType = logisticsType;
            }

            public Object getTime() {
                return time;
            }

            public void setTime(Object time) {
                this.time = time;
            }
        }

        public static class LiwanjiaInvoiceBean {
            /**
             * invoiceId : null
             * invoiceContent : null
             * invoiceProposer : null
             * invoiceTitle : null
             * invoiceTaxpayerCode : null
             * invoiceMail : null
             * invoiceMoney : null
             * tradeId : null
             */

            private Object invoiceId;
            private Object invoiceContent;
            private Object invoiceProposer;
            private Object invoiceTitle;
            private Object invoiceTaxpayerCode;
            private Object invoiceMail;
            private Object invoiceMoney;
            private Object tradeId;

            public Object getInvoiceId() {
                return invoiceId;
            }

            public void setInvoiceId(Object invoiceId) {
                this.invoiceId = invoiceId;
            }

            public Object getInvoiceContent() {
                return invoiceContent;
            }

            public void setInvoiceContent(Object invoiceContent) {
                this.invoiceContent = invoiceContent;
            }

            public Object getInvoiceProposer() {
                return invoiceProposer;
            }

            public void setInvoiceProposer(Object invoiceProposer) {
                this.invoiceProposer = invoiceProposer;
            }

            public Object getInvoiceTitle() {
                return invoiceTitle;
            }

            public void setInvoiceTitle(Object invoiceTitle) {
                this.invoiceTitle = invoiceTitle;
            }

            public Object getInvoiceTaxpayerCode() {
                return invoiceTaxpayerCode;
            }

            public void setInvoiceTaxpayerCode(Object invoiceTaxpayerCode) {
                this.invoiceTaxpayerCode = invoiceTaxpayerCode;
            }

            public Object getInvoiceMail() {
                return invoiceMail;
            }

            public void setInvoiceMail(Object invoiceMail) {
                this.invoiceMail = invoiceMail;
            }

            public Object getInvoiceMoney() {
                return invoiceMoney;
            }

            public void setInvoiceMoney(Object invoiceMoney) {
                this.invoiceMoney = invoiceMoney;
            }

            public Object getTradeId() {
                return tradeId;
            }

            public void setTradeId(Object tradeId) {
                this.tradeId = tradeId;
            }
        }

        public static class CommodityBean implements Serializable{
            /**
             * commodityimage : http://lwj123456.oss-cn-hangzhou.aliyuncs.com/cleaning/images/lwj123456=1509961162374.jpg
             * commodityNum : 1
             * freight : 0.0
             * Commodityinfo : 叽叽叽叽里HK
             * commodityprice : 2.0
             * commoditycode : e0dc92ff04da4b77baf1219756c3164e
             * commodityType : 商城
             * commodityname : 韩版大衣
             */

            private String commodityimage;
            private int commodityNum;
            private double freight;
            private String Commodityinfo;
            private double commodityprice;
            private String commoditycode;
            private String commodityType;
            private String commodityname;

            public String getCommodityimage() {
                return commodityimage;
            }

            public void setCommodityimage(String commodityimage) {
                this.commodityimage = commodityimage;
            }

            public int getCommodityNum() {
                return commodityNum;
            }

            public void setCommodityNum(int commodityNum) {
                this.commodityNum = commodityNum;
            }

            public double getFreight() {
                return freight;
            }

            public void setFreight(double freight) {
                this.freight = freight;
            }

            public String getCommodityinfo() {
                return Commodityinfo;
            }

            public void setCommodityinfo(String Commodityinfo) {
                this.Commodityinfo = Commodityinfo;
            }

            public double getCommodityprice() {
                return commodityprice;
            }

            public void setCommodityprice(double commodityprice) {
                this.commodityprice = commodityprice;
            }

            public String getCommoditycode() {
                return commoditycode;
            }

            public void setCommoditycode(String commoditycode) {
                this.commoditycode = commoditycode;
            }

            public String getCommodityType() {
                return commodityType;
            }

            public void setCommodityType(String commodityType) {
                this.commodityType = commodityType;
            }

            public String getCommodityname() {
                return commodityname;
            }

            public void setCommodityname(String commodityname) {
                this.commodityname = commodityname;
            }
        }
    }
}
